package com.unionpay.apk;

import java.text.SimpleDateFormat;

public class Apk {
	private String appName;
	private String packageName;
	private String version;
	private String filePath;
	private Long fileTime;
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public Long getFileTime() {
		return fileTime;
	}
	public void setFileTime(Long fileTime) {
		this.fileTime = fileTime;
	}
	@Override
	public String toString() {
		return packageName + " " + appName + " " + version + " " + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(fileTime) + " " + filePath;
	}
}
